package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目视频监控
 对象 project_monitoring
 *
 * @author ruoyi
 * @date 2021-01-25
 */
public class ProjectMonitoring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long mId;

    /** 摄像头唯一标识 */
    @Excel(name = "摄像头唯一标识")
    private String mKey;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mTime;

    /** 监控名称 */
    @Excel(name = "监控名称")
    private String mName;

    /** 摄像头厂商 */
    @Excel(name = "摄像头厂商")
    private String mPlatform;

    /** 协议 */
    @Excel(name = "协议")
    private String mProtocol;

    /** 摄像头类型 */
    @Excel(name = "摄像头类型")
    private String mType;

    /** 项目id */
    @Excel(name = "项目id")
    private Long proId;

    public void setmId(Long mId)
    {
        this.mId = mId;
    }

    public Long getmId()
    {
        return mId;
    }
    public void setmKey(String mKey)
    {
        this.mKey = mKey;
    }

    public String getmKey()
    {
        return mKey;
    }
    public void setmTime(Date mTime)
    {
        this.mTime = mTime;
    }

    public Date getmTime()
    {
        return mTime;
    }
    public void setmName(String mName)
    {
        this.mName = mName;
    }

    public String getmName()
    {
        return mName;
    }
    public void setmPlatform(String mPlatform)
    {
        this.mPlatform = mPlatform;
    }

    public String getmPlatform()
    {
        return mPlatform;
    }
    public void setmProtocol(String mProtocol)
    {
        this.mProtocol = mProtocol;
    }

    public String getmProtocol()
    {
        return mProtocol;
    }
    public void setmType(String mType)
    {
        this.mType = mType;
    }

    public String getmType()
    {
        return mType;
    }
    public void setProId(Long proId)
    {
        this.proId = proId;
    }

    public Long getProId()
    {
        return proId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("mId", getmId())
                .append("mKey", getmKey())
                .append("mTime", getmTime())
                .append("mName", getmName())
                .append("mPlatform", getmPlatform())
                .append("mProtocol", getmProtocol())
                .append("mType", getmType())
                .append("proId", getProId())
                .toString();
    }
}